package com.ttg.common.enums;

/**
 * @author zhangHongYuan
 * @description
 * @date 2024/1/24 14:51
 */
public enum ExpressionTypeEnum {


    TYPE_BETWEEN(1,"介于"),

    TYPE_NOT_BETWEEN(2,"不介于"),
    TYPE_EQUAL_TO(3,"等于"),
    TYPE_NOTEQUAL_TO(4,"不等于"),
    TYPE_GREATER_THAN(5,"大于"),
    TYPE_LESS_THAN(6,"小于"),
    TYPE_GREATER_THAN_EQUAL_TO(7,"大于等于"),
    TYPE_LESS_THAN_EQUAL_TO(8,"小于等于"),
    TYPE_LIKE(9,"模糊查询");


    private int value;
    private String desc;

    ExpressionTypeEnum(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }


    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
